package com.xbongbong.admin.model.impl;

import com.xbongbong.admin.domain.dao.MirrorRetainLabelDao;
import com.xbongbong.admin.domain.entity.MirrorRetainLabelEntity;
import com.xbongbong.admin.model.MirrorRetainLabelModel;
import com.xbongbong.paas.toolbox.exception.XbbException;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

/**
 * @author guohui.zhang
 * @Title:
 * @date 2021/1/2014:23
 */
@Service("mirrorRetainLabelModel")
public class MirrorRetainLabelModelImpl implements MirrorRetainLabelModel {
    @Resource
    private MirrorRetainLabelDao mirrorRetainLabelDao;

    @Override
    public Integer insert(MirrorRetainLabelEntity entity) throws XbbException {
        return null;
    }

    @Override
    public Integer update(MirrorRetainLabelEntity entity) throws XbbException {
        return null;
    }

    @Override
    public void insertBatch(List<MirrorRetainLabelEntity> mirrorRetainLabelEntities) {
        mirrorRetainLabelDao.insertBatch(mirrorRetainLabelEntities);
    }

    @Override
    public List<MirrorRetainLabelEntity> findEntitys(Map<String, Object> param) {
       return mirrorRetainLabelDao.findEntitys(param);
        // return null;
    }

    @Override
    public Integer getEntitysCount(Map<String, Object> param) {
        return null;
    }

    @Override
    public List findEntitysWithoutSub(Map<String, Object> param) {
        return null;
    }
}
